﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace CKS2320.Domain.DBEntity
{
    [Table("thicknessdetection")]
    public partial class Thicknessdetection
    {
        [Key]
        public Guid Id { get; set; }
        [StringLength(20)]
        public string? StationCode { get; set; }
        public bool? Heart1 { get; set; }
        [Column("3DScannerStart")]
        public bool? _3dscannerStart { get; set; }
        [Column("3DScannerEnd")]
        public bool? _3dscannerEnd { get; set; }
        public bool? StartUpLoad { get; set; }
        [StringLength(40)]
        public string? PartCode { get; set; }
        public bool? TotalLengthResult { get; set; }
        [Column("CRSmallEndDistanceResult")]
        public bool? CrsmallEndDistanceResult { get; set; }
        [Column("CRLargeEndDistanceResult")]
        public bool? CrlargeEndDistanceResult { get; set; }
        [Column("CRFront1WaveDistanceResult")]
        public bool? Crfront1WaveDistanceResult { get; set; }
        [Column("CRFront64WaveDistanceResult")]
        public bool? Crfront64WaveDistanceResult { get; set; }
        public bool? FrontThicknessResult1 { get; set; }
        public bool? FrontThicknessResult2 { get; set; }
        public bool? FrontThicknessResult3 { get; set; }
        public bool? FrontThicknessResult4 { get; set; }
        public bool? FrontThicknessResult5 { get; set; }
        public bool? FrontThicknessResult6 { get; set; }
        public bool? FrontThicknessResult7 { get; set; }
        public bool? BackThicknessResult1 { get; set; }
        public bool? BackThicknessResult2 { get; set; }
        public bool? BackThicknessResult3 { get; set; }
        public bool? BackThicknessResult4 { get; set; }
        public bool? BackThicknessResult5 { get; set; }
        public bool? BackThicknessResult6 { get; set; }
        public bool? BackThicknessResult7 { get; set; }
        public bool? SmallEndDirectionInspectionResult { get; set; }
        public bool? FacadeCurvatureResult { get; set; }
        public bool? Result { get; set; }
        public bool? Heart2 { get; set; }
        public bool? EndUpLoad { get; set; }
        [Column("3DScannerResult")]
        public bool? _3dscannerResult { get; set; }
        [StringLength(10)]
        public string? RunType { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? CreatedTime { get; set; }
        [Column(TypeName = "datetime")]
        public DateTime? ModifiedTime { get; set; }
        public bool? Pushed { get; set; } = false;
        [NotMapped] // 使用 NotMapped 特性标记该属性不映射到数据库表字段
        public List<Detectiondetail> detaillist { get; set; } = new List<Detectiondetail>();
    }
}
